package com.itheima.stock.common.domian;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: siwukun
 * @date: 2022/06/10
 * @description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserPageDomain {

    private Integer pageNum;
    private Integer pageSize;
    private String username;
    private String nickName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
